package com.ea.domain.entity;

import java.io.Serializable;
import java.util.Date;
/**
 * <p>
 * 用户信息表
 * </p>
 *
 * @author 电器商城
 * @since 2022-11-29
 */
public class UserInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键id
     */
    private Integer id;

    /**
     * 用户id
     */
    private Long userId;

    /**
     * 用户姓名
     */
    private String userName;

    /**
     * 昵称
     */
    private String nickName;

    /**
     * 登录账号
     */
    private String loginAccount;

    /**
     * 账号密码
     */
    private String loginPassword;

    /**
     * 联系方式
     */
    private String phone;

    /**
     * 性别 0：男；1：女
     */
    private Integer sex;

    /**
     * 会员等级     1：普通会员；2：白银会员；3：黄金会员
     */
    private Integer level;

    /**
     * 头像
     */
    private String imgUrl;

    /**
     * 购物积分
     */
    private Integer integral;

    /**
     * 状态   0：正常；1：封禁；
     */
    private Integer status;

    /**
     * 是否删除
     */
    private Integer isDelete;

    /**
     * 创建时间
     */
    private Date gmtCreate;

    /**
     * 修改时间
     */
    private Date gmtUpdate;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getLoginAccount() {
        return loginAccount;
    }

    public void setLoginAccount(String loginAccount) {
        this.loginAccount = loginAccount;
    }

    public String getLoginPassword() {
        return loginPassword;
    }

    public void setLoginPassword(String loginPassword) {
        this.loginPassword = loginPassword;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getSex() {
        return sex;
    }

    public void setSex(Integer sex) {
        this.sex = sex;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public Integer getIntegral() {
        return integral;
    }

    public void setIntegral(Integer integral) {
        this.integral = integral;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getIsDelete() {
        return isDelete;
    }

    public void setIsDelete(Integer isDelete) {
        this.isDelete = isDelete;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtUpdate() {
        return gmtUpdate;
    }

    public void setGmtUpdate(Date gmtUpdate) {
        this.gmtUpdate = gmtUpdate;
    }

    @Override
    public String toString() {
        return "UserInfo{" +
        ", id=" + id +
        ", userId=" + userId +
        ", userName=" + userName +
        ", nickName=" + nickName +
        ", loginAccount=" + loginAccount +
        ", loginPassword=" + loginPassword +
        ", phone=" + phone +
        ", sex=" + sex +
        ", level=" + level +
        ", imgUrl=" + imgUrl +
        ", integral=" + integral +
        ", status=" + status +
        ", isDelete=" + isDelete +
        ", gmtCreate=" + gmtCreate +
        ", gmtUpdate=" + gmtUpdate +
        "}";
    }
}
